package com.zyzd.baseprojectofvolly.bean.local;

import java.io.Serializable;

/**
 * Created by LZY on 2017/6/28.
 */

public class ApiMessageBody implements Serializable {
    private String type;//消息类型

    private String msg;//文本消息

    private long file_length;//文件大小（单位：字节）

    private String filename;//文件名称
    private String  secret; //secret在上传文件（图片、视频..）后会返回，只有含有secret才能够下载此文件（图片，视频）
    private Size size = new Size();//图片尺寸
    private String url;//上传图片消息地址，在上传图片成功后会返回UUID

    private String addr;//要发送的地址
    private double lat;//纬度
    private double lng;//经度

    private int length;//语音、视频长度 时间（单位：秒）
    private String thumb;//上传视频缩略图远程地址，在上传视频缩略图后会返回UUID
    private String thumb_secret;//secret在上传缩略图后会返回

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public long getFile_length() {
        return file_length;
    }

    public void setFile_length(long file_length) {
        this.file_length = file_length;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public Size getSize() {
        return size;
    }

    public void setSize(Size size) {
        this.size = size;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public double getLng() {
        return lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public String getThumb_secret() {
        return thumb_secret;
    }

    public void setThumb_secret(String thumb_secret) {
        this.thumb_secret = thumb_secret;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
